<!DOCTYPE html>
<html lang="zh-CN">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>错误提示</title>
    <link
      rel="stylesheet"
      href="https://cdn.jsdelivr.net/npm/sf-pro-display@1.0.1/css/sf-pro-display.css"
    />
    <style>
      body {
        margin: 0;
        padding: 0;
        font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont,
          sans-serif;
        background-color: #f5f5f7;
        color: #1d1d1f;
        line-height: 1.5;
        -webkit-font-smoothing: antialiased;
      }

      .container {
        min-height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 20px;
      }

      .error-card {
        background-color: #ffffff;
        border-radius: 16px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
        padding: 32px;
        max-width: 400px;
        width: 100%;
        text-align: center;
      }

      .error-icon {
        width: 60px;
        height: 60px;
        margin: 0 auto 24px;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: #ff3b30;
        border-radius: 50%;
      }

      .error-icon svg {
        width: 32px;
        height: 32px;
        color: #ffffff;
      }

      h1 {
        font-size: 22px;
        font-weight: 600;
        margin: 0 0 16px;
        color: #1d1d1f;
      }

      p {
        font-size: 16px;
        color: #86868b;
        margin: 0 0 24px;
      }

      .return-button {
        display: inline-block;
        background-color: #0071e3;
        color: #ffffff;
        font-size: 16px;
        font-weight: 500;
        padding: 12px 24px;
        border-radius: 8px;
        text-decoration: none;
        transition: all 0.2s ease;
      }

      .return-button:hover {
        background-color: #0077ed;
        transform: translateY(-1px);
      }
    </style>
  </head>
  <body>
    <div class="container">
      <div class="error-card">
        <div class="error-icon">
          <svg
            xmlns="http://www.w3.org/2000/svg"
            fill="none"
            viewBox="0 0 24 24"
            stroke="currentColor"
          >
            <path
              stroke-linecap="round"
              stroke-linejoin="round"
              stroke-width="2"
              d="M6 18L18 6M6 6l12 12"
            />
          </svg>
        </div>
        <h1>出错了</h1>
        <p>{{ message }}</p>
        <a href="/" class="return-button">返回首页</a>
      </div>
    </div>
  </body>
</html>
